<?php

namespace App;

class Withdraw extends Model
{
    protected $table = 'withdraw';

    public function agent()
    {
    	return $this->hasOne('\App\Agent', 'id', 'agent_id');
    }

    public function superagent()
    {
    	return $this->hasOne('\App\SuperAgent', 'id', 'agent_id');
    }
}    